//
//  PYCandidates.h
//  cocoa_py
//
//  Created by qiaolun on 6/29/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <InputMethodKit/InputMethodKit.h>

@interface PYCandidates : NSWindow {
	float _fontHeight;

	NSTextView *_view;
}


- (NSPoint)estimatePoint:(NSPoint)point rect:(NSRect)rect ;
- (void)setCandidateWindowOrigin:(NSPoint)origin ;
- (NSPoint)_fixCaretPosition:(NSPoint)caretPosition ;

- (void)showCandidates:(NSArray *)candidates client:(id)sender;
- (void)hide:(id)sender ;

@end
